<html>
<head><meta charset="utf-8"><title>jumbled ordering · t-compiler/wg-diagnostics · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/147480-t-compiler/wg-diagnostics/index.html">t-compiler/wg-diagnostics</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/147480-t-compiler/wg-diagnostics/topic/jumbled.20ordering.html">jumbled ordering</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="199051093"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/147480-t-compiler/wg-diagnostics/topic/jumbled%20ordering/near/199051093" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/147480-t-compiler/wg-diagnostics/topic/jumbled.20ordering.html#199051093">(May 28 2020 at 17:10)</a>:</h4>
<p>Hey <span class="user-mention" data-user-id="119031">@Esteban Küber</span> do you remember the idea I proposd at some point, to modify the model of errors so that we could add a "sequence" of steps that were meant to be read in order, where it would render either as</p>
<div class="codehilite"><pre><span></span><code>let x = foo();
        --- (1) blah blah...
let y = bar();
     - (2) ..so blah blah.
</code></pre></div>


<p>or as</p>
<div class="codehilite"><pre><span></span><code>note: blah blah
&gt; let x = foo();
          ---
note: ...so blah blah
&gt; let y = bar();
    -
</code></pre></div>


<p>depending on whether the ordering of the source matched or not?</p>



<a name="199051120"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/147480-t-compiler/wg-diagnostics/topic/jumbled%20ordering/near/199051120" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/147480-t-compiler/wg-diagnostics/topic/jumbled.20ordering.html#199051120">(May 28 2020 at 17:10)</a>:</h4>
<p><a href="https://github.com/rust-lang/rust/pull/72543/files/4ff2398447a0472d05bff4612ea0d8b6b3922edd#diff-b6f79c5c49c845fbb7a69661b7bb62c0">these questions on #72543</a> reminded me of it</p>



<a name="199051833"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/147480-t-compiler/wg-diagnostics/topic/jumbled%20ordering/near/199051833" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nikomatsakis <a href="https://rust-lang.github.io/zulip_archive/stream/147480-t-compiler/wg-diagnostics/topic/jumbled.20ordering.html#199051833">(May 28 2020 at 17:15)</a>:</h4>
<p>though I left a different suggestion</p>



<a name="199052812"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/147480-t-compiler/wg-diagnostics/topic/jumbled%20ordering/near/199052812" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/147480-t-compiler/wg-diagnostics/topic/jumbled.20ordering.html#199052812">(May 28 2020 at 17:21)</a>:</h4>
<p><span class="user-mention" data-user-id="116009">@nikomatsakis</span> I think you made a gist about it. I think I starred it, but I can't seem to find the list of all gists I starred.</p>



<a name="199070261"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/147480-t-compiler/wg-diagnostics/topic/jumbled%20ordering/near/199070261" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Esteban Küber <a href="https://rust-lang.github.io/zulip_archive/stream/147480-t-compiler/wg-diagnostics/topic/jumbled.20ordering.html#199070261">(May 28 2020 at 19:25)</a>:</h4>
<p>I remember. one of the things that is unresolved with that is how vscode (for example) should behave with them</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>